import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';
import { LuckyInfo } from '../../models/lucky-dog';

@Component({
  selector: 'app-lucky-info',
  templateUrl: './lucky-info.component.html',
  styleUrls: ['./lucky-info.component.less']
})
export class LuckyInfoComponent implements OnInit {
  @Output() closeEvent = new EventEmitter<void>();
  @Input() info: LuckyInfo;
  constructor() {}
  ngOnInit(): void {}
  close() {
    this.closeEvent.emit();
  }
}
